package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/NewApprovalProcess.class */
public class NewApprovalProcess {
    private Integer id;
    @ApiModelProperty("项目编号(基础和智能、日常、采购使用)")
    private String buildNum;
    @ApiModelProperty("标段ID(基础和智能使用)")
    private Integer sectionId;
    @ApiModelProperty("审批意见")
    private String approvalOpinion;
    private String userName;
    @ApiModelProperty("操作时间")
    private String operatingTime;
    @ApiModelProperty("1是通过、0是拒绝")
    private Integer approvalStatus;
    private String approvalStatusName;
    @ApiModelProperty("操作人id")
    private Integer userId;
    @ApiModelProperty("审批模板类型，zn,jc,da,cg")
    private String type;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setBuildNum(String buildNum) {
        this.buildNum = buildNum;
    }

    public void setSectionId(Integer sectionId) {
        this.sectionId = sectionId;
    }

    public void setApprovalOpinion(String approvalOpinion) {
        this.approvalOpinion = approvalOpinion;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setOperatingTime(String operatingTime) {
        this.operatingTime = operatingTime;
    }

    public void setApprovalStatus(Integer approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    public void setApprovalStatusName(String approvalStatusName) {
        this.approvalStatusName = approvalStatusName;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof NewApprovalProcess)) {
            return false;
        }
        NewApprovalProcess other = (NewApprovalProcess) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$buildNum = getBuildNum();
        Object other$buildNum = other.getBuildNum();
        if (this$buildNum == null) {
            if (other$buildNum != null) {
                return false;
            }
        } else if (!this$buildNum.equals(other$buildNum)) {
            return false;
        }
        Object this$sectionId = getSectionId();
        Object other$sectionId = other.getSectionId();
        if (this$sectionId == null) {
            if (other$sectionId != null) {
                return false;
            }
        } else if (!this$sectionId.equals(other$sectionId)) {
            return false;
        }
        Object this$approvalOpinion = getApprovalOpinion();
        Object other$approvalOpinion = other.getApprovalOpinion();
        if (this$approvalOpinion == null) {
            if (other$approvalOpinion != null) {
                return false;
            }
        } else if (!this$approvalOpinion.equals(other$approvalOpinion)) {
            return false;
        }
        Object this$userName = getUserName();
        Object other$userName = other.getUserName();
        if (this$userName == null) {
            if (other$userName != null) {
                return false;
            }
        } else if (!this$userName.equals(other$userName)) {
            return false;
        }
        Object this$operatingTime = getOperatingTime();
        Object other$operatingTime = other.getOperatingTime();
        if (this$operatingTime == null) {
            if (other$operatingTime != null) {
                return false;
            }
        } else if (!this$operatingTime.equals(other$operatingTime)) {
            return false;
        }
        Object this$approvalStatus = getApprovalStatus();
        Object other$approvalStatus = other.getApprovalStatus();
        if (this$approvalStatus == null) {
            if (other$approvalStatus != null) {
                return false;
            }
        } else if (!this$approvalStatus.equals(other$approvalStatus)) {
            return false;
        }
        Object this$approvalStatusName = getApprovalStatusName();
        Object other$approvalStatusName = other.getApprovalStatusName();
        if (this$approvalStatusName == null) {
            if (other$approvalStatusName != null) {
                return false;
            }
        } else if (!this$approvalStatusName.equals(other$approvalStatusName)) {
            return false;
        }
        Object this$userId = getUserId();
        Object other$userId = other.getUserId();
        if (this$userId == null) {
            if (other$userId != null) {
                return false;
            }
        } else if (!this$userId.equals(other$userId)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        return this$type == null ? other$type == null : this$type.equals(other$type);
    }

    protected boolean canEqual(Object other) {
        return other instanceof NewApprovalProcess;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $buildNum = getBuildNum();
        int result2 = (result * 59) + ($buildNum == null ? 43 : $buildNum.hashCode());
        Object $sectionId = getSectionId();
        int result3 = (result2 * 59) + ($sectionId == null ? 43 : $sectionId.hashCode());
        Object $approvalOpinion = getApprovalOpinion();
        int result4 = (result3 * 59) + ($approvalOpinion == null ? 43 : $approvalOpinion.hashCode());
        Object $userName = getUserName();
        int result5 = (result4 * 59) + ($userName == null ? 43 : $userName.hashCode());
        Object $operatingTime = getOperatingTime();
        int result6 = (result5 * 59) + ($operatingTime == null ? 43 : $operatingTime.hashCode());
        Object $approvalStatus = getApprovalStatus();
        int result7 = (result6 * 59) + ($approvalStatus == null ? 43 : $approvalStatus.hashCode());
        Object $approvalStatusName = getApprovalStatusName();
        int result8 = (result7 * 59) + ($approvalStatusName == null ? 43 : $approvalStatusName.hashCode());
        Object $userId = getUserId();
        int result9 = (result8 * 59) + ($userId == null ? 43 : $userId.hashCode());
        Object $type = getType();
        return (result9 * 59) + ($type == null ? 43 : $type.hashCode());
    }

    public String toString() {
        return "NewApprovalProcess(id=" + getId() + ", buildNum=" + getBuildNum() + ", sectionId=" + getSectionId() + ", approvalOpinion=" + getApprovalOpinion() + ", userName=" + getUserName() + ", operatingTime=" + getOperatingTime() + ", approvalStatus=" + getApprovalStatus() + ", approvalStatusName=" + getApprovalStatusName() + ", userId=" + getUserId() + ", type=" + getType() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getBuildNum() {
        return this.buildNum;
    }

    public Integer getSectionId() {
        return this.sectionId;
    }

    public String getApprovalOpinion() {
        return this.approvalOpinion;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getOperatingTime() {
        return this.operatingTime;
    }

    public Integer getApprovalStatus() {
        return this.approvalStatus;
    }

    public String getApprovalStatusName() {
        return this.approvalStatusName;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public String getType() {
        return this.type;
    }
}